package com.example.ruihuada.ui.HomeModule.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import com.example.ruihuada.R
import com.example.ruihuada.ui.HomeModule.adapter.ShopListAdapter
import com.noober.background.BackgroundLibrary
import kotlinx.android.synthetic.main.activity_shop.*

class ShopActivity : AppCompatActivity() {
    val tilteList = mutableListOf(
        "闺蜜高定极简（茂业店）",
        "闺蜜高定极简设计公司",
        "闺蜜高定极简设计公司",
        "高定极简设计公司",
        "手提包高定极简设计公司"
    )

    override fun onCreate(savedInstanceState: Bundle?) {
        BackgroundLibrary.inject(this)

        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_shop)
        recyclerView.layoutManager = LinearLayoutManager(this)
        recyclerView.adapter =
            ShopListAdapter(tilteList)
    }
}